OPC Studio User's Guide and Reference
ISink<T> Interface
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace : ISink<T> Interface
The type of values the sink can receive.
Provides a mechanism for receiving a sequence of values.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComVisibleAttribute(False)>
<ExceptionContractAnnotationAttribute(True)>
Public Interface ISink(Of T) 
'Usage
 
Dim instance As ISink(Of T)
[CLSCompliant(true)]
[ComVisible(false)]
[ExceptionContractAnnotation(true)]
public interface ISink<T> 
[CLSCompliant(true)]
[ComVisible(false)]
[ExceptionContractAnnotation(true)]
generic<typename T>
public interface class ISink 
Type Parameters
T
The type of values the sink can receive.
Remarks

Defines a contract for a sink that can receive a sequence of values of type T.

This interface is somewhat similar to IObserver, but is meant for sequences that report neither completion nor error.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also